package com.huangfu.learning.javabase.java.collections.list;

import java.util.Arrays;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/7/21
 * Time: 13:55
 * Version: 1.0
 * Description:数组常用操作
 **/
public class ArrayTest {
    public static void main(String[] args) {
        String[] s = {"a", "b", "c"};
        System.out.println("-------------数组格式-------------------");
        System.out.println(s);
        System.out.println("-------------数组转化成list------------");
        List list = Arrays.asList(s);
        System.out.println(list.toString());
    }
}
